package in.muton.edushare.pages.common;

import in.muton.edushare.panels.assignment.AssignmentListPanel;

import org.apache.wicket.markup.html.CSSPackageResource;
import org.apache.wicket.markup.html.basic.Label;

public class PollsStatsPanel extends EdusharePanel {

	public PollsStatsPanel(String id, int total, int open, int closed, int draft) {
		super(id);
		add(CSSPackageResource.getHeaderContribution(AssignmentListPanel.class,
				"assignment.css"));
		add(new Label("total", Integer.toString(total)));
		add(new Label("open", Integer.toString(open)));
		add(new Label("closed", Integer.toString(closed)));
		add(new Label("draft", Integer.toString(draft)));
	}

	private static final long serialVersionUID = -7892998458377613615L;
}
